import { http, httpGet, httpPost } from '@/utils/http'
import { Event } from '@/championship'

export const getEventDetailByStageId = async (stageId: string): Promise<IResData<Event>> => {
  const res = await httpGet<Event>(`/event/findByStageId`, {
    stageId,
  })
  return res
}
